﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true"
    CodeFile="ABMProveedores.aspx.cs" Inherits="TecnoPezWeb.Modules.Compras.ABMProveedores"
    Title="Untitled Page" %>

<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
<asp:Wizard id="wzrABM" runat="server" ActiveStepIndex="1" BorderColor="#B5C7DE" BorderWidth="0px" Font-Names="Verdana" Font-Size="0.8em" DisplaySideBar="False">
<StepStyle ForeColor="#333333" Font-Size="0.8em" VerticalAlign="Top"></StepStyle>

<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top"></SideBarStyle>

<NavigationButtonStyle BackColor="White" BorderStyle="Solid" ForeColor="#284E98" BorderWidth="1px" BorderColor="#507CD1" Font-Size="0.8em" Font-Names="Verdana"></NavigationButtonStyle>
<WizardSteps>
<asp:WizardStep runat="server" ID="wzrBusqueda" Title="Busqueda" StepType="Complete"><TABLE style="WIDTH: 100%" id="TableData" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Buscar Proveedores</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Raz&#243;n Social" Width="200px" ID="lblBuscarRazonSocial" __designer:wfdid="w62"></asp:Label>

 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarRazonSocial" __designer:wfdid="w63"></asp:TextBox>

 </TD><TD vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdBuscar" Width="102px" CssClass="Boton" Text="Buscar" Height="23px" BorderStyle="None" __designer:wfdid="w64"></asp:Button>

 <asp:Button runat="server" ID="cmdNuevo" Width="102px" CssClass="Boton" Text="Nuevo" Height="23px" __designer:wfdid="w65" OnClick="cmdNuevo_Click"></asp:Button>

 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="lblC&#243;digo" __designer:wfdid="w66"></asp:Label>

 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarCodigo" __designer:wfdid="w35"></asp:TextBox>

</TD></TR><TR><TD style="HEIGHT: 170px" colSpan=3><uc2:TecnopezDataGRIDABMView runat="server" ID="grdProveedores" __designer:wfdid="w68"></uc2:TecnopezDataGRIDABMView>

 </TD></TR></TBODY></TABLE></asp:WizardStep>
<asp:WizardStep runat="server" ID="wzrEdicion" Title="Edicion" StepType="Complete"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos del Proveedor</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 26px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo" Width="200px" ID="Label1" __designer:wfdid="w80"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtCodigo" __designer:wfdid="w81"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="Ingrese un c&#243;digo" ControlToValidate="txtCodigo" ID="RFVCodigo" __designer:wfdid="w105">*</asp:RequiredFieldValidator>
</TD><TD style="WIDTH: 6px" vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdEditar" Width="102px" CssClass="Boton" Text="Editar" Height="23px" CausesValidation="False" __designer:wfdid="w82" OnClick="cmdEditar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdEliminar" Width="102px" CssClass="Boton" Text="Eliminar" Height="23px" CausesValidation="False" __designer:wfdid="w83" OnClick="cmdEliminar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Raz&#243;n Social" Width="200px" ID="Label2" __designer:wfdid="w84"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtRazonSocial" __designer:wfdid="w85"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="Ingrese una Raz&#243;n Social" ControlToValidate="txtRazonSocial" ID="RFVNombre" __designer:wfdid="w86">*</asp:RequiredFieldValidator>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Tipo documento" Width="200px" ID="Label3" __designer:wfdid="w87"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><uc3:TecnoPezPopUp runat="server" ID="TPPTipoDocumento" __designer:wfdid="w88"></uc3:TecnoPezPopUp>
 </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 6px"></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="N&#250;mero documento" Width="200px" ID="lblContrasenia" __designer:wfdid="w89"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtNumeroDocumento" __designer:wfdid="w90"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Direcci&#243;n" Width="200px" ID="Label4" __designer:wfdid="w91"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtDireccion" __designer:wfdid="w92"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Correo electr&#243;nico" Width="200px" ID="Label5" __designer:wfdid="w93"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtCorreoElectronico" __designer:wfdid="w94"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels" vAlign=top><asp:Label runat="server" Text="Tel&#233;fono" Width="200px" ID="Label6" __designer:wfdid="w95"></asp:Label>
 <asp:Label runat="server" Text="ID" ID="lblId" Visible="False" __designer:wfdid="w96"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData" vAlign=top><asp:TextBox runat="server" Width="200px" ID="txtTelefono" __designer:wfdid="w97"></asp:TextBox>
 <asp:TextBox runat="server" Visible="False" ID="txtId" __designer:wfdid="w98"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData" vAlign=top></TD><TD style="WIDTH: 6px" vAlign=bottom><asp:Button runat="server" ID="cmdAceptar" Width="102px" CssClass="Boton" Text="Aceptar" Height="23px" __designer:wfdid="w99" OnClick="cmdAceptar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdCancelar" Width="102px" CssClass="Boton" Text="Cancelar" Height="23px" CausesValidation="False" __designer:wfdid="w100" OnClick="cmdCancelar_Click"></asp:Button>
 </TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2><asp:Label runat="server" CssClass="errorLabel" ID="_lblError" __designer:wfdid="w101"></asp:Label>
 <BR /><cc1:PropertyProxyValidator runat="server" ID="PPVCodigo" DisplayMode="List" RulesetName="" __designer:wfdid="w103"></cc1:PropertyProxyValidator>
<BR /><cc1:PropertyProxyValidator runat="server" ID="PPVRazonSocial" DisplayMode="List" RulesetName="" __designer:wfdid="w102"></cc1:PropertyProxyValidator>
</TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 6px; HEIGHT: 25px" vAlign=top></TD></TR></TBODY></TABLE></asp:WizardStep>
</WizardSteps>

<SideBarButtonStyle BackColor="#507CD1" ForeColor="White" Font-Names="Verdana"></SideBarButtonStyle>

<HeaderStyle BackColor="#284E98" BorderStyle="Solid" ForeColor="White" BorderWidth="2px" BorderColor="#EFF3FB" HorizontalAlign="Center" Font-Size="0.9em" Font-Bold="True"></HeaderStyle>
</asp:Wizard> 
</ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
    
</asp:Content>